package com.greenleaf.service;

import java.util.List;

import com.greenleaf.entity.PdtClass;
import com.greenleaf.entity.SearchCon;

public interface PdtClassService {
	/**
	 * 查询所有商品类别
	 */
	public List<PdtClass> getAllPdtClass(SearchCon searchCon);
	/**
	 * 查询所有商品类别总数
	 */
	public int getTotalPdtClass(SearchCon searchCon);
	/**
	 * 添加商品类别
	 */
	public int addPdtClass(PdtClass product);
	/**
	 * 修改商品类别
	 * */
	public int updatePdtClass(PdtClass product);
	/**
	 * 删除商品类别
	 */
	public int delPdtClass(int pdtId);
}
